@import '@common/styles/index.scss';
.masking {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: $mask-bg-color;
    z-index: 1400;
    display: flex;
    justify-content: center;
    align-items: center;
    .container {
        position: relative;
        width: rem(215);
        height: rem(287);
        position: relative;
        background-image: url('https://cloudcache.tencentcs.com/operation/dianshi/other/redpacket.d2d2c8778413d454ef7d9b890221112fda06e66d.png');
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: rem(10);
        left:5px;
        .moneyText {
            opacity: 0;
            transition: opacity 0.1s linear 0.7s;
        }
        .text {
            line-height: rem(26);
            font-size: rem(18);
            color: #FFEEA2;
            margin-top: rem(55);
            text-align: center;
        }
        .money {
            line-height: rem(35);
            font-size: rem(26);
            color: #FFEEA2;
            margin-top: rem(10);
            text-align: center;
        }
        .button {
            margin: auto;
            background-color: #ffeea2;
            height: rem(80);
            width: rem(80);
            border-radius: 50%;
            margin-top: rem(40);
            display: flex;
            justify-content: center;
            align-items: center;
            transition-property: transform, visibility;
            transition-duration: 0.8s, 0s;
            transition-timing-function: linear, linear;
            transition-delay: 0s, 0.8s;
        }
        .open {
            font-size: rem(25);
            color: $text-color-regular;
        }
        .bottom {
            width: rem(320);
            position: absolute;
            top: rem(70);
            left: rem(-54);
            visibility: hidden;
        }
        .animationBottom {
            animation: bottomAnimation .7s linear 0.4s;
        }
        @keyframes bottomAnimation {
            0% {
                visibility: hidden;
                opacity: 0;
            }
            15% {
                visibility: visible;
                opacity: 1;
            }
            85% {
                visibility: visible;
                opacity: 1;
            }
            100% {
                visibility: hidden;
                opacity: 0;
            }
        }
        .up {
            width: rem(213);
            position: absolute;
            top: rem(-50);
            visibility: hidden;
        }
        .animationUp {
            animation: upAnimation 0.7s linear 0.4s;
        }
        @keyframes upAnimation {
            0% {
                visibility: hidden;
                opacity: 0;
            }
            15% {
                visibility: visible;
                opacity: 1;
            }
            85% {
                visibility: visible;
                opacity: 1;
            }
            100% {
                visibility: hidden;
                opacity: 0;
                transform: scale(1.5,1.5);
            }
        }
    }
}